package cn.iocoder.yudao.module.pplan.controller.admin.shiftrecord.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 排班管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ShiftRecordRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "3886")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "排班日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排班日期")
    private String shiftDate;

    @Schema(description = "人员列表")
    private List<ShiftUserSimpleReqVO> shiftUsers;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}